<?
 session_start();
 if(!isset($_SESSION['auth'])){ header("Location:login.php"); die();}; 
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/forms/forms.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('#add_calendar').ajaxForm();
});
</script>
<title>Jqalendar settings</title>
</head>


<body>
<form method="post" id="add_calendar" action="php/jqalendar.php?a=add_calendar">
Nuovo calendario:<input type="text" name="name"/><br />
Colore sfondo:<input type="text" name="bgcolor"/><br />
Colore testo:<input type="text" name="textcolor"/><br />
<input type="submit" value="Crea"/>
</form>
</body>
</html>
